
<extend name="Application/Admin/View/layout.html" />
<block name="mid">
     <div id="page-wrapper">
            <div id="page-inner">
                <div class="row">
                    <div class="col-md-12">
                        <h1 class="page-head-line">会员编辑</h1>
                        <h1 class="page-subhead-line">This is dummy text , you can replace it with your original text. </h1>

                    </div>
                </div>
                <!-- /. ROW  -->
                <div class="row">

<div class="col-md-6 col-sm-6 col-xs-12">
               <div class="panel panel-danger">
                        <div class="panel-heading">
                           SINGUP FORM
                        </div>
                        <div class="panel-body">
                            <form role="form" id="signupForm" action="" method="post"  enctype="multipart/form-data" >



                                 <div class="form-group">
                                            <label>用户名</label>
                                            <input type="text" class="form-control" name="username" value="{$data.username}" >

                                     <p class="help-block ">Help text here.</p>
                                        </div>

                                           <div class="form-group">
                                            <label>用户头像</label>
                                            <notempty name="data['avathor']">
                                            <img width="8%" height="8%" src="__ROOT__/{$data.avathor}">
                                            <a href="{:U('Admin/admin/del_avathor/id/'.$data['id'])}" >删除</a>
                                            <else/>
                                           <input type="file" multiple="" class="form-control" id="error" name="avathor" />
                                     <p class="help-block ">Help text here.</p>
                                        </div>
                                            </notempty>

                                         <div class="form-group">
                                            <label>性别</label>
                                            <div class="radio">
                                                <label>
                                                    <input type="radio" name="sex" id="optionsRadios1" value="option1" checked="" required>男
                                                </label>
                                            </div>
                                            <div class="radio">
                                                <label>
                                                    <input type="radio" name="sex" id="optionsRadios2" value="option2">女
                                                </label>
                                            </div>

                                        </div>
                                        <div class="form-group">
                                            <label>手机号</label>
                                            <input type="text" class="form-control" name="tell" id="tell" value="{$data.tell}">

                                     <p class="help-block ">Help text here.</p>
                                        </div>

                                         <input class="btn btn-danger" type="submit" value="提交 Now"  >

                                    </form>
                            </div>
                        </div>
                            </div>
        </div>
             <!--/.ROW-->

            </div>
            <!-- /. PAGE INNER  -->
        </div>
<style>
.error{
  color:red;
}
</style>
        </block>
         <block name="js">
<script  type="text/javascript" src="__ROOT____Admin__assets/js/jquery-1.10.2.js"></script>
 <script type="text/javascript" src="__ROOT____Admin__assets/js/jquery.validate.min.js"/></script>


        </block>